package com.oa.order.util;

import java.util.List;

import org.springframework.data.domain.PageImpl;
import org.springframework.data.domain.Pageable;

public class MyPageImpl<T> extends PageImpl<T>{
	private static final long serialVersionUID = -8470816063100581625L;
	
	private boolean success = true;
 	public MyPageImpl(List<T> content) {
		super(content);
	}
	public MyPageImpl(List<T> content, Pageable pageable, long total) {
		super(content, pageable, total);
	}
	
	public MyPageImpl(List<T> content, Pageable pageable, long total,boolean success) {
		super(content, pageable, total);
		this.success = success;
	}
	
	public boolean isSuccess() {
		return success;
	}
	public void setSuccess(boolean success) {
		this.success = success;
	}

	
}
